﻿<%@ Page Language="C#" AutoEventWireup="true"%>

<form id="QueryPropertyDialog">
  <div class="pageContent">
    
    <div class="pageFormContent" layoutH="60">
         
        <dl>
            <dt>编号（对应sql）：</dt>
            <dd>
            <input type="text" prop="Code"/>
            </dd>
        </dl>    
        <dl>
            <dt>名称（用于展示）：</dt>
            <dd>
            <input type="text" prop="Text"/>
            </dd>
        </dl>    
        <dl>
            <dt>格式化输出：</dt>
            <dd>            
            <input type="text" prop="Format"/>
            </dd>
        </dl> 
	</div>
	
    <div class="formBar">
    <input id="submit_op" name="submit_op" type="hidden" />
	    <ul>
			<li>
	        <div class="buttonActive"><div class="buttonContent"><button  type="button"  onclick="saveQueryPropertyItem();" class="close">保存</button></div></div>
            </li>
            
			<li>
		    <div class="button"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div>
			</li>
		</ul>
    </div>
    
    </div>
    </form>
        <script type="text/javascript">
    initializeGridItemInDialog($('#QueryPropertyDialog'), <%=Request["object"] %>);
    function saveQueryPropertyItem(){
//        var val = $('#QueryPropertyDialog').find('[prop=Code]').val();
//        if(val == ''){
//            $('#QueryPropertyDialog').find('[prop=Code]').val(new Date().valueOf());
//        }
        return saveDialogDataAsDialogResult($('#QueryPropertyDialog'));
    }
    </script>